﻿using System.Xml.Serialization;
using MergeTI.TiEntityObjects;
using TI;

namespace TiEntityObject.Protocol
{
    public class ProtocolCommission 
    {           
        public string ProtocolNumber { get; set; }

        [XmlElement("regNumber")]
        public string RegNumber { get; set; }

        [XmlElement("name")]
        public string Name { get; set; }

        [XmlElement("protocolCommissionMembers")]
        [LinkObjectAttribute(ChildFieldName = "ProtocolNumber", IsCollection = true, IsPartialObject = true, ParentFieldName = "ProtocolNumber")]
        public ProtocolCommissionMembers ProtocolCommissionMembers { get; set; }

      
    }
}

